Document Solutions for PDF
DS.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / GcGraphics Class / DrawEllipse Method / DrawEllipse(RectangleF,Color,Single,Single[]) Method
A System.Drawing.RectangleF structure that specifies the ellipse to draw.
The color of lines used to draw the ellipse.
The width of lines used to draw the ellipse.
The dash pattern of lines used to draw the ellipse.

In This Topic
    DrawEllipse(RectangleF,Color,Single,Single[]) Method
    In This Topic
    Draws an ellipse using a specified line color, width and dash pattern.

    If the dashPattern array contains two or more items, the ellipse is drawn with a Pen having Pen.LineCap set to PenLineCap.Square instead of PenLineCap.Flat.

    Syntax
    'Declaration
     
    Public Overloads Sub DrawEllipse( _
       ByVal bounds As System.Drawing.RectangleF, _
       ByVal lineColor As System.Drawing.Color, _
       ByVal lineWidth As System.Single, _
       ByVal dashPattern() As System.Single _
    ) 
    public void DrawEllipse( 
       System.Drawing.RectangleF bounds,
       System.Drawing.Color lineColor,
       System.float lineWidth,
       System.float[] dashPattern
    )

    Parameters

    bounds
    A System.Drawing.RectangleF structure that specifies the ellipse to draw.
    lineColor
    The color of lines used to draw the ellipse.
    lineWidth
    The width of lines used to draw the ellipse.
    dashPattern
    The dash pattern of lines used to draw the ellipse.
    See Also